use strict;
use warnings;

my $drawCmd = "gnuplot -e \'"
    . "set title \"Group Size Estimation Result\";"
    . "set xlabel \"Time(s)\";"
    . "set ylabel \"Group Size\";"
    . "set grid;"
    . "plot \"data_SE_PH_10_100s_Normal\" title \"No Bad Robot with Anti Entropy\" with line lc rgb \"blue\" pt 2 lw 2, \"data_SE_PH_10_100s\" using 1:2 title \"Bad Robot with AntiEntropy\" with line lc rgb \"red\" pt 7 lw 2;"
    . "pause -1"
    . "\'";

system($drawCmd);
